import https from '@/plugins/luch-request_0.0.7/request'

// 更新分享数（分享海报时回调该接口）
export const sendShare = data => https.post('/apihkds/api/source_material/update_share', data, {}, { hideError: true })

// 更新获客数（提交预约单时回调该接口）
export const sendVisitors = data => https.post('/apihkds/api/source_material/update_hk', data)
// 分享统计
export const shareStatisc = data => https.post('/apihkds/api/callback/share', data)

// 邀请组队
export const invitation = data => https.get('/apihkds/api/myteam/invitation', data)

// 加入团队
export const myteamJoin = data => https.get('/apihkds/api/myteam/join', data)

// 加入团队
export const myteamCreate = data => https.get('/apihkds/api/myteam/create', data)
